package com.jingdianjichi.subject.domain.service;

import com.jingdianjichi.subject.domain.entity.SubjectCategoryBO;

import java.util.List;

/**
 * Description: 题目分类领域分类
 * Copyright: Copyright (c) 2024
 * Create Time: 2024-07-03 15:04
 *
 * @author wanglianyun
 */
public interface SubjectCategoryDomainService {

    /**
     * 新增分类
     * @param subjectCategoryBO 返回结果
     */
    void add(SubjectCategoryBO subjectCategoryBO);

    /**
     * 查询类目
     * @return 返回结果
     */
    List<SubjectCategoryBO> queryCategory(SubjectCategoryBO subjectCategoryBO);

    /**
     * 更新分类
     * @param subjectCategoryBO subjectCategoryBO
     * @return 是否更新成功
     */
    Boolean update(SubjectCategoryBO subjectCategoryBO);

    /**
     * 删除分类
     * @param subjectCategoryBO subjectCategoryBO
     * @return 是否成功
     */
    Boolean delete(SubjectCategoryBO subjectCategoryBO);
    /**
     * 查询分类及标签
     * @param subjectCategoryBO subjectCategoryBO
     * @return 返回
     */
    List<SubjectCategoryBO> queryCategoryAndLabel(SubjectCategoryBO subjectCategoryBO);
}
